
#include "game_controller\headers\game_controller_scene.hpp"

namespace GameController {


Scene::Scene( const QImage* _back )
	:	m_background( _back )
{
}


Scene::~Scene()
{
}

const QImage*
Scene::getBackground() const
{
	return m_background;
}


void
Scene::addObject( GameModel::IObject::Ptr _object )
{
	m_visibleObjects.insert( _object );
}


IScene::ObjectsContainer&
Scene::getObjects()
{
	return m_visibleObjects;
}


IScene::ObjectsContainer const&
Scene::getObjects() const
{
	return m_visibleObjects;	
}


} // namespace GameController